<style>
<!--
#container{width:980px;overflow:hidden}
.weiboContainer{width: 238px; background-color:#cccccc; border: solid 1px #666666}
.weiboContainer ul li{list-style:none; float:left; margin:0 0 10px 10px}
.weiboContainer ul li img{width:100px; height:100px}
.text{padding: 10px; background-color: #ffffff}
.name{height: 30px; line-height: 30px; font-size: 24px}
-->
</style>
<div id="container1">
<?php foreach($this->paginator as $weibo){?>
<form action="<?php echo $this->baseUrl().'/admin/weibo/wbcheck' ?>" method="post" id="<?php echo $weibo['weiboid'] ?>" class="item">
<input type="hidden" name="wbid" value="<?php echo $weibo['weiboid'] ?>">
<div class="weiboContainer">
<?php if(1==$weibo['multipic']){?>
<?php echo $this->weiboMultiPics($weibo['weiboid'],'square')?>
<?php }elseif(isset($weibo['bmiddlepic'])){?>
<img src="<?php echo $weibo['bmiddlepic']?>" width="238px"/>
<?php }?>
<p class="text"><?php echo $weibo['text']?></p>
<p><img src="<?php echo $weibo['uimgurl']?>" width="32px" height="32px"/><span class="name"><?php echo $weibo['uname']?></span></p>
</div>
<br/>是否剔除：<input type="radio" value="0" name="<?php echo 'radio_'.$weibo['weiboid']?>"/>是 <input type="radio" value="1" checked="checked" name="<?php echo 'radio_'.$weibo['weiboid']?>"/>否 
<br/>
<input type="submit"/>
</form>
<?php }?>
</div>

<?php echo $this->paginationControl($this->paginator,
                                    'Sliding',
                                    'my_pagination_control.phtml'); ?>
<script type="text/javascript">
$(function(){
	  $('#container1').masonry({
	    // options
	    itemSelector : '.item',
	    columnWidth : 245
	  });
	});
</script>
